package ch.ethz.fcl.draw;

public class GeoBounds {
	// Zurich Bounds
	// public static int minLon = 8141466;
	// public static int maxLon = 8947491;
	// public static int minLat = 47100796;
	// public static int maxLat = 47628678;

	// Singapore Bounds
	public static int minLon = 103619027;
	public static int maxLon = 104026646;
	public static int minLat = 1238493;
	public static int maxLat = 1469700;

	public static float getBoundLat(int lat) {
		float boundLat = (float) (lat - minLat) / (maxLat - minLat);
		return boundLat;
	}

	public static float getBoundLon(int lon) {
		float boundLon;
		boundLon = (float) (lon - minLon) / (maxLon - minLon);
		return boundLon;
	}
}